<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<link rel="stylesheet" href="mystyle.css">
<title></title>
</head>
<body>
<center><h1>Welcome User!!</h1></center>
<s:form action="login" method="post">
    <s:textfield name="username1" label = "User ID" id="myinput" 
      size="20" />
    <s:password name="password" label="Password" id="myinput"
      size="20" />
    <s:submit name = "commandButton" id="mysubmit" value="Login!"
      align="center" />
</s:form>
<s:if test="hasActionErrors()">
   <div class="errors">
      <s:actionerror/>
   </div>
</s:if>
</body>
</html>